Dual control of fan speed-input corresponding to power supply temperature or software command from the processor corresponding to processor temperature

ABSTRACT

A method and system for controlling the power supply fan in a computer system. The speed of a power supply fan can be made directly proportional to the temperature of the power supply. The fan speed can also be controlled by a processor with software commands according to the temperature of the processor. The speed of the fan will be dictated by the higher of the two commands driving it. Therefore, the power supply fan can never be commanded by the processor to run at a lower speed than that required by its own thermal environment. A Fan Speed Control Circuit enables the computer system to command the power supply fan to run at a higher speed. The processor temperature can be monitored with a temperature transducer and analog signal conditioning circuitry.

This application is a Continuation of application Ser. No. 09/197,037filed on Nov. 20, 1998 now U.S. Pat. No. 6,349,385.

BACKGROUND AND SUMMARY OF THE INVENTION

The application relates to smart cooling systems in computer powersupplies.

BACKGROUND: THERMAL REQUIREMENTS

With the increase in packaging density of devices in computer products,the control of the thermal environment inside the chassis has become acritical part of the design process in order to maintain systemstability and reliability. Heat-generating components, modules, andboards are packaged ever more densely to reduce the chassis volume,resulting in a more concentrated thermal load. This “technologicaladvancement” causes additional headaches for designers adding componentsinto the computer chassis.

An inferior cooling design can cause power supply circuit components tooperate at abnormal temperatures. Without proper air circulation, heatbuilds up inside the computer chassis. Circuit components operating intemperatures not within design specifications may cause RF interference,rebooting, hard drive errors, and other undesirable consequencesaffecting the integrity of the system. Additionally, over time,sensitive components such as the CPU or hard drive may undergo physicaldamage from excessive expansion and contraction due to thermal dynamicsof the system.

Since a power supply is a large concentrated source of heat, a coolingfan is normally designed into the power supply chassis, to exhaust thewarm air from the computer chassis itself and to draw the air acrosspower supply components as the air exits the system. Cooling fans arelow-cost mechanical devices that tend to fail at higher rates than mostother system components. Since a cooling fan failure is often masked bybackground noise (hard drive noise), the problem becomes apparent onlywhen irregularities begin to occur in operation or when a total systemfailure occurs.

BACKGROUND: FAN REDUNDANCY

As a result, computer power supply companies are seeking a variety ofmore cost effective methods for enhancing power supply performance andreliability. For example, vendors may design redundant supplies into asingle power supply module to enhance the reliability and integrity ofthe mother system. This particular design enhancement adds to thethermal load and overall cost of the system. In conjunction with thisdesign, several fans may be added to control the excess heat. Anotherapproach provided in the industry is to connect an audibleover-temperature alarm to a spare power supply plug e.g., the 110 Alert™by PC Power & Cooling, Inc. However, this alternative offers only“coarse” control over the thermal problems associated with enclosedelectronics. Temperature fluctuations may still be excessive causingphysical damage to component structures from thermalexpansion/contraction.

BACKGROUND: POWER EFFICIENCY

With a steady increase in energy consumption occurring in the UnitedStates, the Environmental Protection Agency (“EPA”) has developed aprogram to help curb this usage. The EPA's Energy Star Program is avoluntary partnership with the computer industry to promote theintroduction of energy-efficient personal computers, monitors, andprinters in an effort to reduce air pollution caused by powergeneration. Note that Energy Star does not apply directly to powersupplies, but to the computer systems in which the supplies reside.However, many companies strive to meet the spirit of the program, andconsumers are demanding it by what they purchase. Many vendors simplydesign the power supply fan to rotate at a fixed speed, but in this casethe fan's constant operation wastes energy. Other vendors may design thefan to run proportionately to the temperature in a linear relationship.

BACKGROUND: CURRENT HEAT DISSIPATION SOLUTIONS

Due to cost reasons, manufacturers will typically include only a singlefan in their computer systems. For both cost and power efficiencyreasons the single fan will have relatively low input power consumption.However, the processors included in such systems generally dissipateconsiderable heat. With the input power to the fan being lower, thepower supply fan speed will also be low. This low fan speed may notprovide enough airflow for the processor. Often, the power supply fanramp will need to be increased in order to cool the processor andprevent overheating.

In U.S. Pat. No. 5,687,079 there is disclosed a method of temperaturedependent fan speed control. The method disclosed in the issued patentsuffers from particular shortcomings. The speed of the fan is dependentupon the ambient temperature inside the computer and the type of CPUwhich is installed in the computer. If the CPU is of a type that wouldnormally demand extra cooling (and therefore a higher fan speed), thefan is operated on a higher voltage curve. The speed of the fan isdependent only on ambient temperature and CPU type, not actual CPUtemperature.

The disadvantage of an increased fan ramp is that the acoustic noiselevel also increases. Currently there is no communication between theprocessor and the power supply fan in order to direct an increase in fanramp to a speed satisfactory to cool the processor but not more than isnecessary so as to control the acoustic noise level. Further, oncesufficient cooling has taken place, current designs do not decrease fanspeed in order to dampen acoustic noise levels and conserve power. Theincreased fan ramp is in effect all the time.

Dual Power Supply Fan Control

The present application discloses a method and system for controllingthe power supply fan in a computer system. The speed of a power supplyfan can be made directly proportional to the temperature of the powersupply. Additionally, the fan speed can be controlled by a processorwith software commands according to the temperature of the processor.The speed of the fan will be dictated by the higher of the two commandsdriving it. Therefore, the power supply fan can never be commanded bythe processor to run at a lower speed than that required by its ownthermal environment. The system can only increase the power supply fanspeed. A Fan Speed control Circuit enables the computer system tocommand the power supply fan to run at a higher speed. The processortemperature can be monitored with a temperature transducer and analogsignal conditioning circuitry. If software control is desired, an analogto digital converter can be used for software manipulation. A digital toanalog converter can then be used to provide the proper input for thepower supply fan circuit.

An advantage of the presently preferred embodiment is that the computersystem can increase the power supply fan speed to ensure that theprocessor does not over heat.

Another advantage of the presently preferred embodiment is that thesystem fan command can be software controlled. This will allow thesystem to program the desired fan ramp for optimal thermal and acousticperformance.

Another advantage of the presently preferred embodiment is that theminimum fan speed is adjustable and does not require a hardware clamp.

Another advantage of the preferred embodiment is that the circuit wasdesigned with very common, readily available, low cost components. Thiscircuit was designed with ordinary transistors, diodes and resistors,small low voltage capacitors, and only one integrated circuit.

Another advantage is that the fan speed is regulated to more closelycontrol the temperature profile. The control circuit can preciselyregulate fan speeds, as determined by the ambient temperature toguarantee the required thermal environment. Since the fan may becontrolled at a minimum necessary speed, the power dissipated by the fanis reduced. Additionally, a reduction in acoustic noise, vibration, andwear inside the fan is realized.

Another advantage is that the fan in the power supply can be turned off,saving energy. This allows the computer system to be certified as ENERGYSTAR™ compliant.

Another advantage is that this circuit protects the computer fromcatastrophic failure in the event that the fan is erroneously turnedoff. Thus the flexibility of software-controlled operation can beobtained while still realizing very robust fail-safe operation.

BRIEF DESCRIPTION OF THE DRAWINGS

The disclosed inventions will be described with reference to theaccompanying drawings, which show important sample embodiments of theinvention and which are incorporated in the specification hereof byreference, wherein:

FIG. 1 shows a circuit diagram of the presently preferred embodiment.

FIG. 2 shows a physical diagram of a computer system with a power supplyincorporating the innovative control circuitry.

FIG. 3 shows a block diagram of a computer system according to thepresently preferred embodiment.

FIG. 4 shows a block diagram of the inputs to and output from the FanSpeed Control Circuit.

DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS

The numerous innovative teachings of the present application will bedescribed with particular reference to the presently preferredembodiment. However, it should be understood that this class ofembodiments provides only a few examples of the many advantageous usesof the innovative teachings herein. In general, statements made in thespecification of the present application do not necessarily delimit anyof the various claimed inventions. Moreover, some statements may applyto some inventive features but not to others.

Operational Overview

FIG. 4 shows a block diagram of the inputs to and output from the FanSpeed Control Circuit. The Fan Speed Control Circuit receives twoinputs: one from a Thermistor Circuit and another, software controlledinput, from the Microprocessor. During normal operation, when the userfirst powers-up the system, the fan turns on. The Thermistor circuitprovides control of the fan speed relative to the temperature of thepower supply. The Microprocessor provides software control of the fanspeed relative to its temperature. The Fan Speed Control Circuit selectsthe higher of the two inputs to control the speed of the fan. Thecircuit operates to regulate the fan speed as necessary to maintain acontrolled thermal environment for the system. The system can onlyincrease the power supply fan speed, it can never be commanded by theprocessor to run at a lower speed than that required by its thermalenvironment. However, if both the system and the thermistor circuitlower their fan speed requirements, the fan speed will lower. Even inthis even, the fan will run at the higher speed according to the FanSpeed control circuit inputs.

Preferred Circuit Embodiment

The innovative circuit regulates the fan speed in dependence upontemperature and allows the computer system to increase fan speed whennecessary. FIG. 1 shows a circuit diagram of the presently preferredembodiment. The circuit is comprised of an amplifier for an analogsystem command, an amplifier for a thermistor which monitors the powersupply temperature, a power fan driver stage, and an overtemperaturecomparator monitor. The analog system fan command signal (FAN CMD) isapplied to amplifier U1B. U1B is configured as an inverting amplifier.Resistor R8, e.g., a 4.99K ohm resistor, resistor R9, e.g., a 4.99K ohmresistor, and capacitor C6, e.g., a 0.01 microfarad capacitor, providenoise filtering. The FAN CMD signal range is 0-2.5V. The gain ofamplifier U1B is defined as: −R6/(R8+R9), where, in the presentlypreferred embodiment, R6 is a 31.6K ohm resistor. A DC offset of(−R6/R5)*(−5V), where, in the presently preferred embodiment, RS is a22.6K ohm resistor, is needed to level shift the output. As FAN CMDbecomes more positive, the output of U1B 7 goes negative. Ignoring thethermistor amplifier stage (U1A), a FAN CMD of 2.5V will turn poweramplifier Q1 on maximum fan speed. Likewise, a FAN CMD of 0V will driveamplifier Q1 for a minimum fan speed. Thermistor RT1, e.g., a 10K ohmthermistor, and the inverting amplifier U1A monitor the power supplytemperature. Thermistor RT1, R3, e.g., a 3.01K ohm resistor, and C3,e.g., a 0.01 microfarad capacitor, provide noise filtering. ThermistorRTI has a negative temperature coefficient. Thus, as the power supplytemperature increases, thermistor RT1 decreases. The gain of amplifierU1A is defined as: −3.3V*R2/(RT1+R3), where, in the presently preferredembodiment, R2 is a 20K ohm resistor. Thermistor RT1 is a nonlineardevice. R3 helps in making the output more linear. A DC offset of(−R2/R1)*(−5V), where, in the presently preferred embodiment, R1 is a7.32K ohm resistor, is needed to level shift the output. As temperatureincreases, thermistor RT1 decreases and the output of amplifier U1A 1goes negative. Ignoring the U1B amplifier stage, an increasingtemperature causes amplifier Q1 to turn on harder which then increasesthe fan speed.

The higher fan speed command (of U1A or U1B) is selected and passed tothe power driver amplifier Q1. Selection is accomplished by connectingthe outputs of the amplifiers U1A and U1B to diodes CR1 and CR2,respectively. Since the amplifiers are in the inverting configurationand increased fan speed is represented by a output tending negative, theamplifier with the most negative output will forward bias the diodeconnected to it and drive amplifier Q1. For example, if the output at 1is more negative that the output at 7, then CR1 is forward biased andCR2 is off. In this case, the power supply thermistor controls the fanspeed. If the system desires more airflow, FAN CMD can be made morepositive. This positive increase will the output at 7 to become morenegative. Control will be switched to the system when the output at 7 ismore negative than the output at 1 and CR2 is forward biased (CR1 isoff).

The minimum fan speed is determined by the scaling of the U1B amplifierstage and not by a specific hardware clamp. The minimum fan speed isdetermined by the 0V FAN CMD input. This is done by scaling theamplifier gain and offset so that the fan speed commanded by a 0V FANCMD is always greater than that commanded by the thermistor. Also, sincepower amplifier Q1 is inside feedback of both amplifier stages, the fanripple voltage is eliminated. Elimination of fan ripple voltage willresult in reduction of acoustic noise level.

The comparator U1C monitors the output (−FAN) so that the power supplycan be shutdown in an overtemperature condition. Unless the fan voltageat shutdown is greater than the maximum fan voltage that can becommanded from the system the power supply could be shutdown by thesystem. As temperature increases −FAN becomes more negative. When thisvoltage is less than the voltage at 10, the output of the comparator 8goes high. This signal can then be connected to the power supplyshutdown circuitry.

Sample Power System Application

FIG. 2 shows a physical diagram of a computer system with a power supplyincorporating the innovative control circuitry. Computer system 300 isenclosed with a chassis 202 and, in this example, comprises a powersupply module 305 which includes the innovative cooling fan speedcontrol circuitry 310. The circuitry 310 connects to the cooling fan 100controlling fan speed in relation to the temperature inside the chassis202. The computer system board 207 comprises, among other chips, amicroprocessor 325 which interfaces to the control circuitry 310.Software control of the cooling fan 100 via the computer operatingsystem is possible since the control circuitry 310 interfaces with themicroprocessor 325.

FIG. 3 shows a block diagram of a computer system 300 according to thepresently preferred embodiment. In this example, the computer system,includes:

user input devices (e.g. keyboard 335 and mouse 340);

at least one microprocessor 325 which is operatively connected toreceive inputs from said input device, through an interface manager chip330 (which also provides an interface to the various ports);

a power supply 305 which is connected to draw power from AC mains andprovide DC voltage to the computer system 300 components; the innovativepower supply control circuit 310, located within the power supply 305,connects to fan 100 and also interfaces to the microprocessor 325;

a memory (e.g. flash or non-volatile memory 355 and RAM 360), which isaccessible by the microprocessor;

a data output device (e.g. display 350 and video display adapter card345) which is connected to output data generated by microprocessor; and

a magnetic disk drive 370 which is read-write accessible, through aninterface unit 365, by the microprocessor.

Optionally, of course, many other components can be included, and thisconfiguration is not definitive by any means. For example, the computermay also include a CD-ROM drive 380 and floppy disk drive (“FDD”) 375which may interface to the disk interface controller 365. Additionally,L2 cache 385 may be added to speed data access from the disk drives tothe microprocessor, and a PCMCIA 390 slot accommodates peripheralenhancements.

Alternative Embodiment: Systems With Dedicated Processor Fans

According to disclosed class of alternative embodiments the innovativecontrol method may be used in systems containing both power supply fansand fans dedicated to the processor. If the power supply fan can help incooling the processor, the system can send a command to the power supplyfor increased fan speed.

Alternative Embodiment: Other Computer and Electronic Systems

According to another disclosed class of alternative embodiments theinnovative control method may be applicable to other electronic systemswhich use “smart” power-managing systems and use fans for coolingenvironments and components.

According to a disclosed class of innovative embodiments, there isprovided: a computer power supply system, comprising: a fan; and acontrol circuit connected to receive more than one control input and tocontrol said fan accordingly; wherein said control inputs can cause saidcontrol circuit to increase fan speed under at least some circumstances;and wherein said control circuit automatically selects the control inputwhich indicates the highest fan speed to drive said fan.

According to another disclosed class of innovative embodiments, there isprovided: a method for controlling a cooling fan in a complex electronicsystem, comprising the steps of: (a.) turning on said fan when poweringup said system; (b.) receiving more than one command input; and (c.)selecting the command input which indicates the highest fan speed todrive the speed of said fan.

According to another disclosed class of innovative embodiments, there isprovided: a computer system, comprising: a user input device, amicroprocessor which is operatively connected to detect inputs from saidinput device, random-access memory which is connected to be read/writeaccessible by said microprocessor, and an output device operativelyconnected to receive outputs from said microprocessor; and a powersupply connected to provide power to said microprocessor and saidmemory, and comprising a fan; and a control circuit connected to receivemore than one command input and control said fan accordingly; whereinthe speed of said fan is varied under at least some circumstancesaccording to thermal environment; wherein said control circuitautomatically selects the command input which indicates the highest fanspeed to drive said fan.

Modifications and Variations

As will be recognized by those skilled in the art, the innovativeconcepts described in the present application can be modified and variedover a tremendous range of applications, and accordingly the scope ofpatented subject matter is not limited by any of the specific exemplaryteachings given.

It should also be noted that the disclosed innovative ideas are not byany means limited to systems where the managing microcontroller is notthe CPU.

It should also be noted that the disclosed innovative ideas are not byany means limited to power supply cooling systems, but can also beimplemented for CPU cooling fans.

It should also be noted that the disclosed innovative ideas are not byany means limited to systems with a single fan, but can also beimplemented in systems with multiple fans.

It should also be noted that the disclosed innovative ideas may also beapplicable to systems where the fan speed is dependent on temperatureand is not necessarily linear, but variable in nature.

It should also be noted that the disclosed innovative ideas may also beapplicable for other temperature sensor placements.

It should also be noted that the disclosed innovative ideas may bedesigned into an ASIC with other system functions.

Of course, in implementing power supply circuits and systems, safety isa very high priority. Those of ordinary skill in the art will thereforerecognize the necessity to review safety issues carefully, and to makeany changes in components or in circuit configuration which may benecessary to improve safety or to meet safety standards in variouscountries.

It should also be noted that the disclosed innovative ideas are notlimited only to Windows, DOS or UNIX systems, but can also beimplemented in other operating systems.

It should also be noted that the disclosed innovative ideas are notlimited only to systems using ISA, EISA, and/or PCI busses, but can alsobe implemented in systems using other bus architectures.

It should also be noted that the disclosed innovative ideas are notlimited only to systems based on an x86-compatible microprocessor, butcan also be implemented in systems using 680x0, RISC, or other processorarchitectures.

It should also be noted that the disclosed innovative ideas are not byany means limited to systems using a single-processor CPU, but can alsobe implemented in computers using multiprocessor architectures.

It should also be noted that the disclosed innovative ideas may beimplemented with notebook computers.

It should also be noted that the disclosed innovative circuit mayfurther comprise circuitry to send a command to a processor to shutdownthe system.

Additional general background, which helps to show the knowledge ofthose skilled in the art regarding the system context, and of variationsand options for implementations, may be found in the followingpublications, all of which are hereby incorporated by reference. Inparticular, many details may be found in the books from MindShare, Inc.,including PROTECTED MODE SOFTWARE ARCHITECTURE, CARDBUS SYSTEMARCHITECTURE, EISA SYSTEM ARCHITECTURE, ISA SYSTEM ARCHITECTURE, 80486SYSTEM ARCHITECTURE, PENTIUM PROCESSOR SYSTEM ARCHITECTURE, PCMCIASYSTEM ARCHITECTURE, PLUG AND PLAY SYSTEM ARCHITECTURE, PCI SYSTEMARCHITECTURE, USB SYSTEM ARCHITECTURE, and PENTIUM PRO PROCESSOR SYSTEMARCHITECTURE, all of which are hereby incorporated by reference, and inthe PENTIUM PROCESSOR FAMILY DEVELOPER'S MANUAL 1997, the MULTIPROCESSORSPECIFICATION (1997), the INTEL ARCHITECTURE OPTIMIZATIONS MANUAL, theINTEL ARCHITECTURE SOFTWARE DEVELOPER'S MANUAL, the PERIPHERALCOMPONENTS 1996 databook, the PENTIUM PRO PROCESSOR BIOS WRITER'S GUIDE(version 2.0, 1996), and the PENTIUM PRO FAMILY DEVELOPER'S MANUALS fromIntel, all of which are hereby incorporated by reference.

What is claimed is:
 1. An electronic system, comprising: a processor; apower supply electrically coupled to the processor; a fan; and a controlcircuit to control the fan, the control circuit being electricallycoupled to a plurality of command inputs, wherein a first command inputcorresponds to the power supply temperature and a second command inputis a software command corresponding to the processor temperatureprovided by the processor, wherein the control circuit automaticallyselects the command input which indicates the highest fan speed to drivethe fan.
 2. The system as recited in claim 1, wherein the first commandinput is provided by a thermistor.
 3. The system as recited in claim 1,wherein the fan speed is increased when one of the plurality of commandinputs represents a desired fan speed that is greater than current fanspeed.
 4. The system as recited in claim 1, wherein the fan speed isdecreased only when both the first and the second command inputsrepresent a desired fan speed that is less than current fan speed. 5.The system as recited in claim 1, wherein the control circuit isdisposed within the power supply.
 6. The system as recited in claim 1,wherein the control circuit is operable to discontinue operation of thepower supply if the fan fails.
 7. A method for controlling speed of afan in an electronic system, comprising the acts of: providing a firstcontrol signal to drive the fan at a first speed corresponding totemperature at a first location within the electronic system; providinga second control signal from a processor to drive the fan at a secondspeed, the second control signal comprising a software commandcorresponding to the processor temperature; identifying a desired fanspeed based on the first and second control signals which represents thehighest fan speed to drive the fan; and controlling fan speed toestablish the desired fan speed.
 8. The method as recited in claim 7,wherein providing a first control signal comprises providing athermistor to monitoring the temperature of a power supply.
 9. Themethod as recited in claim 7, wherein controlling comprises selectingthe command input that represents the highest fan speed to drive the fanand establishing fan speed based on the selected command input.
 10. Themethod as recited in claim 7, wherein providing a second control signalcomprises physically coupling a thermistor to the surface of theprocessor.
 11. A computer system, comprising: a processor; a powersupply electrically coupled to the processor; a fan; and a controlcircuit operable to receive a plurality of command inputs, a firstcommand input corresponding to the power supply temperature and a secondcommand input being a software command corresponding to the processortemperature provided by the processor, wherein the control circuitcontrols fan operation to establish fan speed in response to theplurality of command inputs.
 12. The system as recited in claim 7,comprising a temperature sensor physically coupled to the processor toprovide the processor with a processor temperature signal.
 13. Thesystem as recited in claim 11, comprising a temperature sensorphysically coupled to the processor to provide the processor with aprocessor temperature signal.
 14. The system as recited in claim 11,wherein the fan speed decreases with a decrease in the greatest of thedesired fan speeds.
 15. The system as recited in claim 11, wherein thecontrol circuit is operable to discontinue operation of the power supplyif the fan falls.
 16. The system as recited in claim 11, wherein thecontrol circuit controls fan operation by selecting the command inputthat represents the greatest fan speed to drive the fan and establishingfan speed based on the selected command input.
 17. The system as recitedin claim 11, wherein the processor is a central processing unit of acomputer system.
 18. The system as recited in claim 17, wherein thecomputer system is a portable computer system.